package cn.domob.android.ads;

import android.app.Dialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.graphics.drawable.GradientDrawable.Orientation;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.View.OnTouchListener;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.RelativeLayout;
import android.widget.RelativeLayout.LayoutParams;
import android.widget.ScrollView;
import android.widget.TextView;
import java.text.SimpleDateFormat;
import java.util.Date;

class E
  implements r.a
{
  static final String a = "domob_update_info";
  static final String b = "ipb";
  static final String c = "info_md5";
  static final String d = "n";
  static final String e = "nt";
  static final String f = "vc";
  static final String g = "vn";
  static final String h = "u";
  static final String i = "s";
  static final String j = "md5";
  static final String k = "ul";
  static final String l = "f";
  static final String m = "sk";
  static final String n = "nrt";
  static final String o = "nri";
  static final String p = "next_time";
  static final String q = "skip_vc";
  static final int r = 0;
  static final int s = 1;
  static final int t = 2;
  static final int u = 0;
  static final int v = 1;
  static final int w = 3;
  private static J x = new J(E.class.getSimpleName());
  private String A;
  private String B;
  private String C;
  private int D;
  private String E;
  private String F;
  private String G;
  private i H;
  private Context y;
  private String z;

  protected E(Context paramContext, i parami)
  {
    this.y = paramContext;
    this.H = parami;
  }

  private Dialog a(Context paramContext, SharedPreferences paramSharedPreferences)
  {
    SharedPreferences.Editor localEditor = paramSharedPreferences.edit();
    String str = paramSharedPreferences.getString("md5", "");
    boolean bool1 = paramSharedPreferences.getBoolean("f", false);
    boolean bool2 = paramSharedPreferences.getBoolean("sk", false);
    Dialog localDialog = new Dialog(paramContext);
    localDialog.setCancelable(false);
    localDialog.getWindow().requestFeature(1);
    LinearLayout localLinearLayout1 = new LinearLayout(paramContext);
    localLinearLayout1.setOrientation(1);
    localLinearLayout1.setBackgroundColor(Color.rgb(90, 90, 90));
    LinearLayout localLinearLayout2 = new LinearLayout(paramContext);
    localLinearLayout2.setOrientation(0);
    localLinearLayout2.setBackgroundColor(Color.rgb(230, 230, 230));
    localLinearLayout2.setLayoutParams(new LinearLayout.LayoutParams(-1, -2));
    localLinearLayout2.setGravity(16);
    LinearLayout.LayoutParams localLayoutParams1 = new LinearLayout.LayoutParams(-1, -2);
    TextView localTextView1 = new TextView(paramContext);
    localTextView1.setText("更新提醒");
    localTextView1.setTextSize(20.0F);
    localTextView1.setTextColor(-16777216);
    LinearLayout.LayoutParams localLayoutParams2 = new LinearLayout.LayoutParams(-2, -2);
    ImageView localImageView = new ImageView(paramContext);
    localImageView.setImageResource(17301569);
    LinearLayout.LayoutParams localLayoutParams3 = new LinearLayout.LayoutParams(-2, -2);
    localLayoutParams3.leftMargin = 5;
    localLayoutParams3.rightMargin = 5;
    localLinearLayout2.addView(localImageView, localLayoutParams3);
    localLinearLayout2.addView(localTextView1, localLayoutParams2);
    LinearLayout localLinearLayout3 = new LinearLayout(paramContext);
    localLinearLayout3.setOrientation(1);
    localLinearLayout3.setBackgroundColor(0);
    localLinearLayout3.setLayoutParams(new LinearLayout.LayoutParams(-1, -2));
    localLinearLayout3.setPadding(0, 10, 10, 10);
    TextView localTextView2 = a(paramContext);
    TextView localTextView3 = a(paramContext);
    TextView localTextView4 = a(paramContext);
    TextView localTextView5 = a(paramContext);
    TextView localTextView6 = a(paramContext);
    localTextView2.setText("名称： " + this.B);
    localTextView3.setText("大小： " + this.F);
    localTextView4.setText("版本： " + this.E);
    localTextView5.setText("描述：");
    localTextView6.setText(this.G);
    LinearLayout localLinearLayout4 = new LinearLayout(paramContext);
    localLinearLayout4.setBackgroundColor(0);
    localLinearLayout4.addView(localTextView5);
    localLinearLayout4.addView(localTextView6);
    localLinearLayout3.addView(localTextView2);
    localLinearLayout3.addView(localTextView4);
    localLinearLayout3.addView(localTextView3);
    localLinearLayout3.addView(localLinearLayout4);
    ScrollView localScrollView = new ScrollView(paramContext);
    localScrollView.addView(localLinearLayout3);
    Button localButton1 = b(paramContext);
    localButton1.setText("立即更新");
    LinearLayout.LayoutParams localLayoutParams4 = new LinearLayout.LayoutParams(-1, -2);
    localLayoutParams4.leftMargin = 5;
    localLayoutParams4.topMargin = 5;
    localLayoutParams4.rightMargin = 5;
    localButton1.setOnClickListener(new View.OnClickListener(localDialog, str)
    {
      public void onClick(View paramView)
      {
        this.a.dismiss();
        if (E.a(E.this) != null)
          E.a(E.this).b(E.b(E.this), E.c(E.this), E.d(E.this));
        if (!this.b.equals(""))
        {
          E.a(E.this, E.e(E.this), E.f(E.this), E.b(E.this), E.c(E.this), E.d(E.this), null);
          return;
        }
        E.a(E.this, E.e(E.this), E.f(E.this), E.b(E.this), E.c(E.this), E.d(E.this), this.b);
      }
    });
    RelativeLayout localRelativeLayout = new RelativeLayout(paramContext);
    localRelativeLayout.setBackgroundColor(0);
    localRelativeLayout.setLayoutParams(new RelativeLayout.LayoutParams(-1, -2));
    LinearLayout.LayoutParams localLayoutParams5 = new LinearLayout.LayoutParams(-1, -2);
    LinearLayout localLinearLayout5 = new LinearLayout(paramContext);
    localLinearLayout5.setOrientation(0);
    Button localButton2 = c(paramContext);
    localButton2.setText("暂时不更新");
    localButton2.setTextSize(15.0F);
    2 local2 = new View.OnClickListener(localDialog)
    {
      public void onClick(View paramView)
      {
        this.a.dismiss();
        if (E.a(E.this) == null)
          return;
        E.a(E.this).c(E.b(E.this), E.c(E.this), E.d(E.this));
      }
    };
    localButton2.setOnClickListener(local2);
    Button localButton3 = c(paramContext);
    localButton3.setText("跳过此版本");
    localButton3.setTextSize(15.0F);
    3 local3 = new View.OnClickListener(localDialog, localEditor)
    {
      public void onClick(View paramView)
      {
        this.a.dismiss();
        if (E.a(E.this) != null)
          E.a(E.this).d(E.b(E.this), E.c(E.this), E.d(E.this));
        this.b.putString("skip_vc", E.g(E.this));
        this.b.commit();
      }
    };
    localButton3.setOnClickListener(local3);
    if (bool2)
    {
      LinearLayout.LayoutParams localLayoutParams6 = new LinearLayout.LayoutParams(-1, -2, 0.0F);
      localLayoutParams6.leftMargin = 5;
      localLayoutParams6.topMargin = 5;
      localLayoutParams6.bottomMargin = 5;
      localLayoutParams6.rightMargin = 5;
      localLayoutParams6.weight = 1.0F;
      localLinearLayout5.addView(localButton3, localLayoutParams6);
    }
    if (!bool1)
    {
      LinearLayout.LayoutParams localLayoutParams7 = new LinearLayout.LayoutParams(-1, -2, 0.0F);
      localLayoutParams7.leftMargin = 5;
      localLayoutParams7.topMargin = 5;
      localLayoutParams7.rightMargin = 5;
      localLayoutParams7.bottomMargin = 5;
      localLayoutParams7.weight = 1.0F;
      localLinearLayout5.addView(localButton2, localLayoutParams7);
    }
    RelativeLayout.LayoutParams localLayoutParams = new RelativeLayout.LayoutParams(-1, -2);
    localLayoutParams.addRule(13);
    localRelativeLayout.addView(localLinearLayout5, localLayoutParams);
    LinearLayout.LayoutParams localLayoutParams8 = new LinearLayout.LayoutParams(-1, -2);
    localLayoutParams8.leftMargin = 20;
    localLayoutParams8.rightMargin = 0;
    localLayoutParams8.weight = 1.0F;
    localLinearLayout1.addView(localLinearLayout2, localLayoutParams1);
    localLinearLayout1.addView(localScrollView, localLayoutParams8);
    localLinearLayout1.addView(localButton1, localLayoutParams4);
    localLinearLayout1.addView(localRelativeLayout, localLayoutParams5);
    localDialog.setContentView(localLinearLayout1);
    return localDialog;
  }

  private static TextView a(Context paramContext)
  {
    TextView localTextView = new TextView(paramContext);
    localTextView.setTextColor(-1);
    return localTextView;
  }

  private void a(String paramString1, String paramString2, String paramString3, int paramInt, String paramString4, String paramString5)
  {
    new r(this.y, paramString1, paramString2, paramString3, paramInt, paramString4, paramString5, this).i();
  }

  private boolean a(String paramString, SharedPreferences paramSharedPreferences)
  {
    long l1 = paramSharedPreferences.getLong("next_time", 0L);
    String str = paramSharedPreferences.getString("skip_vc", null);
    x.a(E.class.getSimpleName(), "下次允许提示时间为：" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date(l1)));
    int i1;
    if ((l1 == 0L) || (System.currentTimeMillis() >= l1))
    {
      x.a(E.class.getSimpleName(), "到了允许提示的时间间隔，需要提示");
      i1 = 1;
      label103: if ((str != null) && (str.equals(paramString)))
        break label166;
      x.a(E.class.getSimpleName(), "用户没有跳过这个版本，需要提示");
    }
    for (int i2 = 1; (i1 != 0) && (i2 != 0); i2 = 0)
    {
      return true;
      x.a(E.class.getSimpleName(), "未到允许提示的时间间隔，不需要提示");
      i1 = 0;
      break label103:
      label166: x.a(E.class.getSimpleName(), "用户跳过了这个版本，不需要提示");
    }
    return false;
  }

  private static Button b(Context paramContext)
  {
    Button localButton = new Button(paramContext);
    localButton.setTextSize(20.0F);
    localButton.setTextColor(-1);
    GradientDrawable.Orientation localOrientation1 = GradientDrawable.Orientation.BOTTOM_TOP;
    int[] arrayOfInt1 = new int[2];
    arrayOfInt1[0] = Color.parseColor("#3399ff");
    arrayOfInt1[1] = Color.parseColor("#99bbff");
    GradientDrawable localGradientDrawable1 = new GradientDrawable(localOrientation1, arrayOfInt1);
    localGradientDrawable1.setStroke(1, -7829368);
    localGradientDrawable1.setCornerRadius(5.0F);
    GradientDrawable.Orientation localOrientation2 = GradientDrawable.Orientation.TOP_BOTTOM;
    int[] arrayOfInt2 = new int[2];
    arrayOfInt2[0] = Color.parseColor("#3399ff");
    arrayOfInt2[1] = Color.parseColor("#99bbff");
    GradientDrawable localGradientDrawable2 = new GradientDrawable(localOrientation2, arrayOfInt2);
    localGradientDrawable2.setStroke(1, -7829368);
    localGradientDrawable2.setCornerRadius(5.0F);
    localButton.setBackgroundDrawable(localGradientDrawable1);
    localButton.setOnTouchListener(new View.OnTouchListener(localGradientDrawable2, localGradientDrawable1)
    {
      public boolean onTouch(View paramView, MotionEvent paramMotionEvent)
      {
        if (paramMotionEvent.getAction() == 0)
        {
          paramView.setBackgroundDrawable(this.a);
          ((Button)paramView).setTextColor(-16777216);
        }
        while (true)
        {
          return false;
          if (paramMotionEvent.getAction() != 1)
            continue;
          paramView.setBackgroundDrawable(this.b);
          ((Button)paramView).setTextColor(-1);
        }
      }
    });
    return localButton;
  }

  private static Button c(Context paramContext)
  {
    Button localButton = new Button(paramContext);
    localButton.setTextSize(10.0F);
    localButton.setTextColor(-1);
    GradientDrawable localGradientDrawable1 = new GradientDrawable(GradientDrawable.Orientation.BOTTOM_TOP, new int[] { -12303292, -7829368 });
    localGradientDrawable1.setStroke(1, -7829368);
    localGradientDrawable1.setCornerRadius(5.0F);
    GradientDrawable localGradientDrawable2 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -12303292, -7829368 });
    localGradientDrawable2.setStroke(1, -7829368);
    localGradientDrawable2.setCornerRadius(5.0F);
    localButton.setBackgroundDrawable(localGradientDrawable1);
    localButton.setOnTouchListener(new View.OnTouchListener(localGradientDrawable2, localGradientDrawable1)
    {
      public boolean onTouch(View paramView, MotionEvent paramMotionEvent)
      {
        if (paramMotionEvent.getAction() == 0)
        {
          paramView.setBackgroundDrawable(this.a);
          ((Button)paramView).setTextColor(-16777216);
        }
        while (true)
        {
          return false;
          if (paramMotionEvent.getAction() != 1)
            continue;
          paramView.setBackgroundDrawable(this.b);
          ((Button)paramView).setTextColor(-1);
        }
      }
    });
    return localButton;
  }

  // ERROR //
  protected void a()
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 100	cn/domob/android/ads/E:y	Landroid/content/Context;
    //   4: ldc_w 425
    //   7: invokevirtual 431	android/content/Context:getSystemService	(Ljava/lang/String;)Ljava/lang/Object;
    //   10: checkcast 433	android/net/ConnectivityManager
    //   13: invokevirtual 437	android/net/ConnectivityManager:getActiveNetworkInfo	()Landroid/net/NetworkInfo;
    //   16: astore_1
    //   17: aload_1
    //   18: ifnull +10 -> 28
    //   21: aload_1
    //   22: invokevirtual 443	android/net/NetworkInfo:isAvailable	()Z
    //   25: ifne +13 -> 38
    //   28: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   31: ldc_w 445
    //   34: invokevirtual 447	cn/domob/android/ads/J:b	(Ljava/lang/String;)V
    //   37: return
    //   38: new 449	cn/domob/android/ads/t
    //   41: dup
    //   42: aload_0
    //   43: getfield 102	cn/domob/android/ads/E:H	Lcn/domob/android/ads/i;
    //   46: aload_0
    //   47: getfield 100	cn/domob/android/ads/E:y	Landroid/content/Context;
    //   50: invokespecial 452	cn/domob/android/ads/t:<init>	(Lcn/domob/android/ads/i;Landroid/content/Context;)V
    //   53: invokevirtual 454	cn/domob/android/ads/t:a	()V
    //   56: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   59: aload_0
    //   60: ldc_w 456
    //   63: invokevirtual 458	cn/domob/android/ads/J:b	(Ljava/lang/Object;Ljava/lang/String;)V
    //   66: aload_0
    //   67: getfield 100	cn/domob/android/ads/E:y	Landroid/content/Context;
    //   70: ldc 10
    //   72: iconst_0
    //   73: invokevirtual 462	android/content/Context:getSharedPreferences	(Ljava/lang/String;I)Landroid/content/SharedPreferences;
    //   76: astore_3
    //   77: aload_3
    //   78: invokeinterface 109 1 0
    //   83: astore 4
    //   85: aload_0
    //   86: aload_3
    //   87: ldc 25
    //   89: aconst_null
    //   90: invokeinterface 115 3 0
    //   95: putfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   98: aload_0
    //   99: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   102: astore 5
    //   104: aload 5
    //   106: ifnull +17 -> 123
    //   109: aload_0
    //   110: aload_0
    //   111: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   114: invokestatic 468	java/lang/Integer:valueOf	(Ljava/lang/String;)Ljava/lang/Integer;
    //   117: invokevirtual 472	java/lang/Integer:intValue	()I
    //   120: putfield 410	cn/domob/android/ads/E:D	I
    //   123: aload_3
    //   124: ldc 47
    //   126: iconst_0
    //   127: invokeinterface 476 3 0
    //   132: istore 6
    //   134: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   137: aload_0
    //   138: new 210	java/lang/StringBuilder
    //   141: dup
    //   142: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   145: ldc_w 478
    //   148: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   151: aload_0
    //   152: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   155: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   158: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   161: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   164: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   167: aload_0
    //   168: new 210	java/lang/StringBuilder
    //   171: dup
    //   172: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   175: ldc_w 480
    //   178: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   181: iload 6
    //   183: invokevirtual 483	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   186: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   189: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   192: iload 6
    //   194: tableswitch	default:+26 -> 220, 0:+508->702, 1:+524->718, 2:+540->734
    //   221: nop
    //   222: swap
    //   223: aload_0
    //   224: ldc_w 485
    //   227: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   230: iconst_0
    //   231: istore 7
    //   233: aload_0
    //   234: getfield 100	cn/domob/android/ads/E:y	Landroid/content/Context;
    //   237: invokevirtual 489	android/content/Context:getPackageManager	()Landroid/content/pm/PackageManager;
    //   240: aload_0
    //   241: getfield 100	cn/domob/android/ads/E:y	Landroid/content/Context;
    //   244: invokevirtual 492	android/content/Context:getPackageName	()Ljava/lang/String;
    //   247: iconst_0
    //   248: invokevirtual 498	android/content/pm/PackageManager:getPackageInfo	(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
    //   251: astore 8
    //   253: aload_0
    //   254: aload 8
    //   256: getfield 503	android/content/pm/PackageInfo:packageName	Ljava/lang/String;
    //   259: putfield 407	cn/domob/android/ads/E:z	Ljava/lang/String;
    //   262: aload 8
    //   264: getfield 506	android/content/pm/PackageInfo:versionCode	I
    //   267: istore 9
    //   269: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   272: aload_0
    //   273: new 210	java/lang/StringBuilder
    //   276: dup
    //   277: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   280: ldc_w 508
    //   283: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   286: iload 9
    //   288: invokevirtual 483	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   291: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   294: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   297: aload_0
    //   298: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   301: ifnull -264 -> 37
    //   304: aload_0
    //   305: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   308: invokestatic 511	java/lang/Integer:parseInt	(Ljava/lang/String;)I
    //   311: iload 9
    //   313: if_icmple -276 -> 37
    //   316: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   319: aload_0
    //   320: ldc_w 513
    //   323: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   326: aload_0
    //   327: aload_0
    //   328: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   331: aload_3
    //   332: invokespecial 515	cn/domob/android/ads/E:a	(Ljava/lang/String;Landroid/content/SharedPreferences;)Z
    //   335: ifeq -298 -> 37
    //   338: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   341: aload_0
    //   342: ldc_w 517
    //   345: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   348: aload_0
    //   349: aload_3
    //   350: ldc 19
    //   352: aconst_null
    //   353: invokeinterface 115 3 0
    //   358: putfield 219	cn/domob/android/ads/E:B	Ljava/lang/String;
    //   361: aload_0
    //   362: aload_3
    //   363: ldc 25
    //   365: aconst_null
    //   366: invokeinterface 115 3 0
    //   371: putfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   374: aload_0
    //   375: aload_3
    //   376: ldc 28
    //   378: aconst_null
    //   379: invokeinterface 115 3 0
    //   384: putfield 230	cn/domob/android/ads/E:E	Ljava/lang/String;
    //   387: aload_0
    //   388: aload_3
    //   389: ldc 31
    //   391: aconst_null
    //   392: invokeinterface 115 3 0
    //   397: putfield 417	cn/domob/android/ads/E:A	Ljava/lang/String;
    //   400: aload_0
    //   401: aload_3
    //   402: ldc 34
    //   404: aconst_null
    //   405: invokeinterface 115 3 0
    //   410: putfield 226	cn/domob/android/ads/E:F	Ljava/lang/String;
    //   413: aload_0
    //   414: aload_3
    //   415: ldc 40
    //   417: aconst_null
    //   418: invokeinterface 115 3 0
    //   423: putfield 234	cn/domob/android/ads/E:G	Ljava/lang/String;
    //   426: aload_0
    //   427: getfield 219	cn/domob/android/ads/E:B	Ljava/lang/String;
    //   430: ifnull -393 -> 37
    //   433: aload_0
    //   434: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   437: ifnull -400 -> 37
    //   440: aload_0
    //   441: getfield 230	cn/domob/android/ads/E:E	Ljava/lang/String;
    //   444: ifnull -407 -> 37
    //   447: aload_0
    //   448: getfield 230	cn/domob/android/ads/E:E	Ljava/lang/String;
    //   451: ifnull -414 -> 37
    //   454: aload_0
    //   455: getfield 230	cn/domob/android/ads/E:E	Ljava/lang/String;
    //   458: ifnull -421 -> 37
    //   461: aload_0
    //   462: getfield 234	cn/domob/android/ads/E:G	Ljava/lang/String;
    //   465: ifnull -428 -> 37
    //   468: aload_0
    //   469: aload_0
    //   470: getfield 100	cn/domob/android/ads/E:y	Landroid/content/Context;
    //   473: aload_3
    //   474: invokespecial 519	cn/domob/android/ads/E:a	(Landroid/content/Context;Landroid/content/SharedPreferences;)Landroid/app/Dialog;
    //   477: invokevirtual 522	android/app/Dialog:show	()V
    //   480: iload 7
    //   482: ifne +309 -> 791
    //   485: new 324	java/text/SimpleDateFormat
    //   488: dup
    //   489: ldc_w 524
    //   492: invokespecial 327	java/text/SimpleDateFormat:<init>	(Ljava/lang/String;)V
    //   495: astore 10
    //   497: invokestatic 530	java/util/Calendar:getInstance	()Ljava/util/Calendar;
    //   500: astore 11
    //   502: aload 11
    //   504: new 329	java/util/Date
    //   507: dup
    //   508: invokespecial 531	java/util/Date:<init>	()V
    //   511: invokevirtual 535	java/util/Calendar:setTime	(Ljava/util/Date;)V
    //   514: aload 11
    //   516: iconst_5
    //   517: iconst_1
    //   518: invokevirtual 538	java/util/Calendar:add	(II)V
    //   521: aload 10
    //   523: aload 11
    //   525: invokevirtual 542	java/util/Calendar:getTime	()Ljava/util/Date;
    //   528: invokevirtual 336	java/text/SimpleDateFormat:format	(Ljava/util/Date;)Ljava/lang/String;
    //   531: astore 12
    //   533: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   536: aload_0
    //   537: new 210	java/lang/StringBuilder
    //   540: dup
    //   541: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   544: ldc_w 544
    //   547: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   550: aload 12
    //   552: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   555: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   558: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   561: aload 10
    //   563: aload 12
    //   565: invokevirtual 548	java/text/SimpleDateFormat:parse	(Ljava/lang/String;)Ljava/util/Date;
    //   568: invokevirtual 550	java/util/Date:getTime	()J
    //   571: lstore 13
    //   573: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   576: aload_0
    //   577: new 210	java/lang/StringBuilder
    //   580: dup
    //   581: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   584: ldc_w 552
    //   587: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   590: lload 13
    //   592: invokevirtual 555	java/lang/StringBuilder:append	(J)Ljava/lang/StringBuilder;
    //   595: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   598: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   601: aload 4
    //   603: ldc 53
    //   605: lload 13
    //   607: invokeinterface 561 4 0
    //   612: pop
    //   613: aload 4
    //   615: invokeinterface 564 1 0
    //   620: pop
    //   621: aload_0
    //   622: getfield 102	cn/domob/android/ads/E:H	Lcn/domob/android/ads/i;
    //   625: ifnull -588 -> 37
    //   628: aload_0
    //   629: getfield 102	cn/domob/android/ads/E:H	Lcn/domob/android/ads/i;
    //   632: aload_0
    //   633: getfield 407	cn/domob/android/ads/E:z	Ljava/lang/String;
    //   636: aload_0
    //   637: getfield 410	cn/domob/android/ads/E:D	I
    //   640: aload_0
    //   641: getfield 230	cn/domob/android/ads/E:E	Ljava/lang/String;
    //   644: invokevirtual 569	cn/domob/android/ads/i:a	(Ljava/lang/String;ILjava/lang/String;)V
    //   647: return
    //   648: astore_2
    //   649: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   652: aload_2
    //   653: invokevirtual 572	cn/domob/android/ads/J:a	(Ljava/lang/Throwable;)V
    //   656: return
    //   657: astore 19
    //   659: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   662: new 210	java/lang/StringBuilder
    //   665: dup
    //   666: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   669: ldc_w 574
    //   672: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   675: aload_0
    //   676: getfield 419	cn/domob/android/ads/E:C	Ljava/lang/String;
    //   679: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   682: ldc_w 576
    //   685: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   688: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   691: invokevirtual 578	cn/domob/android/ads/J:e	(Ljava/lang/String;)V
    //   694: aload_0
    //   695: iconst_1
    //   696: putfield 410	cn/domob/android/ads/E:D	I
    //   699: goto -576 -> 123
    //   702: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   705: aload_0
    //   706: ldc_w 580
    //   709: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   712: iconst_0
    //   713: istore 7
    //   715: goto -482 -> 233
    //   718: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   721: aload_0
    //   722: ldc_w 582
    //   725: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   728: iconst_m1
    //   729: istore 7
    //   731: goto -498 -> 233
    //   734: aload_3
    //   735: ldc 50
    //   737: iconst_3
    //   738: invokeinterface 476 3 0
    //   743: istore 7
    //   745: iload 7
    //   747: iconst_1
    //   748: if_icmpge +6 -> 754
    //   751: iconst_3
    //   752: istore 7
    //   754: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   757: aload_0
    //   758: new 210	java/lang/StringBuilder
    //   761: dup
    //   762: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   765: ldc_w 584
    //   768: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   771: iload 7
    //   773: invokevirtual 483	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   776: ldc_w 586
    //   779: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   782: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   785: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   788: goto -555 -> 233
    //   791: iload 7
    //   793: iconst_m1
    //   794: if_icmpne +29 -> 823
    //   797: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   800: aload_0
    //   801: ldc_w 588
    //   804: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   807: aload 4
    //   809: ldc 53
    //   811: invokestatic 345	java/lang/System:currentTimeMillis	()J
    //   814: invokeinterface 561 4 0
    //   819: pop
    //   820: goto -207 -> 613
    //   823: getstatic 95	cn/domob/android/ads/E:x	Lcn/domob/android/ads/J;
    //   826: aload_0
    //   827: new 210	java/lang/StringBuilder
    //   830: dup
    //   831: invokespecial 211	java/lang/StringBuilder:<init>	()V
    //   834: iload 7
    //   836: invokevirtual 483	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   839: ldc_w 590
    //   842: invokevirtual 217	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   845: invokevirtual 222	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   848: invokevirtual 339	cn/domob/android/ads/J:a	(Ljava/lang/Object;Ljava/lang/String;)V
    //   851: aload 4
    //   853: ldc 53
    //   855: invokestatic 345	java/lang/System:currentTimeMillis	()J
    //   858: sipush 1000
    //   861: iload 7
    //   863: sipush 3600
    //   866: imul
    //   867: imul
    //   868: i2l
    //   869: ladd
    //   870: invokeinterface 561 4 0
    //   875: pop
    //   876: goto -263 -> 613
    //
    // Exception table:
    //   from	to	target	type
    //   56	104	648	java/lang/Exception
    //   109	123	648	java/lang/Exception
    //   123	192	648	java/lang/Exception
    //   220	230	648	java/lang/Exception
    //   233	480	648	java/lang/Exception
    //   485	613	648	java/lang/Exception
    //   613	647	648	java/lang/Exception
    //   659	699	648	java/lang/Exception
    //   702	712	648	java/lang/Exception
    //   718	728	648	java/lang/Exception
    //   734	745	648	java/lang/Exception
    //   754	788	648	java/lang/Exception
    //   797	820	648	java/lang/Exception
    //   823	876	648	java/lang/Exception
    //   109	123	657	java/lang/NumberFormatException
  }

  public void c(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.e(str1, i1, str2);
  }

  public void d(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.f(str1, i1, str2);
  }

  public void e(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.g(str1, i1, str2);
  }

  public void f(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.h(str1, i1, str2);
  }

  public void g(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.i(str1, i1, str2);
  }

  public void h(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.j(str1, i1, str2);
  }

  public void i(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.k(str1, i1, str2);
  }

  public void j(r paramr)
  {
    if (this.H == null)
      return;
    String str1 = paramr.c();
    int i1 = paramr.d();
    String str2 = paramr.e();
    this.H.a(str1, i1, str2, false, "");
  }

  static abstract interface a
  {
    public abstract void a(String paramString1, int paramInt, String paramString2);

    public abstract void a(String paramString1, int paramInt, String paramString2, boolean paramBoolean, String paramString3);

    public abstract void b(String paramString1, int paramInt, String paramString2);

    public abstract void c(String paramString1, int paramInt, String paramString2);

    public abstract void d(String paramString1, int paramInt, String paramString2);

    public abstract void e(String paramString1, int paramInt, String paramString2);

    public abstract void f(String paramString1, int paramInt, String paramString2);

    public abstract void g(String paramString1, int paramInt, String paramString2);

    public abstract void h(String paramString1, int paramInt, String paramString2);

    public abstract void i(String paramString1, int paramInt, String paramString2);

    public abstract void j(String paramString1, int paramInt, String paramString2);

    public abstract void k(String paramString1, int paramInt, String paramString2);
  }
}

/* Location:           C:\Users\god\Desktop\liunianjishiben_V1.1_mumayi_3745b_dex2jar.jar
 * Qualified Name:     cn.domob.android.ads.E
 * JD-Core Version:    0.5.4
 */